package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级学员对象 teaching_classes_students
 *
 * @author ruoyi
 * @date 2022-10-18
 */
public class TeachingClassesStudents extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long classStudentId;
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 学生ID
     */
    @Excel(name = "学生ID")
    private Long studentId;

    /**
     * 班级ID
     */
    @Excel(name = "班级ID")
    private Long classId;

    /**
     * 报课ID
     */
    @Excel(name = "报课ID")
    private Long applyId;

    /**
     * 消耗课时
     */
    @Excel(name = "消耗课时")
    private Long lessonConsume;

    /**
     * 教师ID
     */
    @Excel(name = "教师ID")
    private Long teacherId;

    /**
     * 创建者ID
     */
    @Excel(name = "创建者ID")
    private Long createId;

    /**
     * 请假次数
     */
    private Long leaveCount;

    /**
     * 状态（0在读 1调班 2结班）
     */
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;


    /**
     * 学生对象
     */
    private TeachingStudent teachingStudent;

    /**
     * 学生报课对象
     */
    private TeachingStudentApply teachingStudentApply;

    /**
     * 班级对象
     */
    private TeachingClasses teachingClasses;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public TeachingClasses getTeachingClasses() {
        return teachingClasses;
    }

    public void setTeachingClasses(TeachingClasses teachingClasses) {
        this.teachingClasses = teachingClasses;
    }

    public Long getLeaveCount() {
        return leaveCount;
    }

    public void setLeaveCount(Long leaveCount) {
        this.leaveCount = leaveCount;
    }

    public TeachingStudentApply getTeachingStudentApply() {
        return teachingStudentApply;
    }

    public void setTeachingStudentApply(TeachingStudentApply teachingStudentApply) {
        this.teachingStudentApply = teachingStudentApply;
    }

    public TeachingStudent getTeachingStudent() {
        return teachingStudent;
    }

    public void setTeachingStudent(TeachingStudent teachingStudent) {
        this.teachingStudent = teachingStudent;
    }

    public void setClassStudentId(Long classStudentId) {
        this.classStudentId = classStudentId;
    }

    public Long getClassStudentId() {
        return classStudentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setLessonConsume(Long lessonConsume) {
        this.lessonConsume = lessonConsume;
    }

    public Long getLessonConsume() {
        return lessonConsume;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getCreateId() {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("classStudentId", getClassStudentId())
                .append("studentId", getStudentId())
                .append("classId", getClassId())
                .append("applyId", getApplyId())
                .append("lessonConsume", getLessonConsume())
                .append("schoolId", getSchoolId())
                .append("teacherId", getTeacherId())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createId", getCreateId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .toString();
    }
}
